package com.study.util.desensitization.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.study.util.desensitization.deserializer.StringDesensitization;

/**
 * 字符串脱敏，注解
 * 
 * @author chenk
 *
 */
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
@Desensitize(desensitization = StringDesensitization.class)
@Documented
public @interface StringDesensitize {

}
